Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding eventbridge-pipes-ddbstream-sfn-terraform pattern #2445

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

enmata
Copy link

@enmata enmata commented Aug 21, 2024

Issue #, if available:

Description of changes:
Adding terraform version of eventbridge-pipes-ddbstream-sfn pattern
https://serverlessland.com/patterns/eventbridge-pipes-ddbstream-sfn

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@ellisms ellisms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @enmata. Requesting a few minor edits.

eventbridge-pipes-ddbstream-sfn-terraform/README.md Outdated Show resolved Hide resolved
eventbridge-pipes-ddbstream-sfn-terraform/README.md Outdated Show resolved Hide resolved
eventbridge-pipes-ddbstream-sfn-terraform/README.md Outdated Show resolved Hide resolved
eventbridge-pipes-ddbstream-sfn-terraform/README.md Outdated Show resolved Hide resolved
eventbridge-pipes-ddbstream-sfn-terraform/README.md Outdated Show resolved Hide resolved
1. Stream logs from the Step Functions log group

```
sam logs --cw-log-group <LogGroup Name> --tail
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add note to use SFNLog output in the command.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I don't understand. What do you mean?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean add an instruction to use the value from SFNLog in the sam logs command (i.e. replace LogGroup Name with the value of SFNLog).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The LogGroup name is dynamically generated using a combination of the Stack name and a randomly generated string. I would like to keep the naming convention generic.

eventbridge-pipes-ddbstream-sfn-terraform/README.md Outdated Show resolved Hide resolved
eventbridge-pipes-ddbstream-sfn-terraform/README.md Outdated Show resolved Hide resolved
@enmata
Copy link
Author

enmata commented Sep 18, 2024

New changes added. Please, could you review now?


## Testing

1. Stream logs from the Step Functions log group
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. Stream logs from the Step Functions log group
1. Stream logs from the Step Functions log group. Replace `<LogGroup Name>` with the `SFNLog` output value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants